<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/details/confdom.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_ae5bdaf1b45f3c0e6fd5dd3984d2eafd.html">details</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">confdom.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d1/d7c/confdom_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &quot;<a class="code" href="../../d5/dfc/composite_8hpp.html">designM/composite.hpp</a>&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &quot;<a class="code" href="../../d9/d7a/variant_8hpp.html">container/variant.hpp</a>&quot;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>{</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>    <span class="keyword">namespace </span><a class="code hl_namespace" href="../../d4/da4/namespaceprivate____.html">private__</a>{</div>
<div class="foldopen" id="foldopen00018" data-start="{" data-end="};">
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">   18</a></span>        <span class="keyword">struct </span><a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>        {</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">   20</a></span>            std::string    <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">   21</a></span>            <a class="code hl_class" href="../../dd/d54/classwheels_1_1variant.html">variant</a>        <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a>;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>            <span class="keyword">template</span>&lt; <span class="keyword">typename</span> DATA_TYPE &gt;</div>
<div class="foldopen" id="foldopen00024" data-start="{" data-end="}">
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#aca4a2f1bdfc0ae0665bde8534df97189">   24</a></span>            <a class="code hl_function" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#aca4a2f1bdfc0ae0665bde8534df97189">stDOMItem</a>( <span class="keyword">const</span> std::string&amp; name , DATA_TYPE&amp;&amp; data ):<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a>( name ){</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>                <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a> = <a class="code hl_function" href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3">variant::make</a>( std::forward&lt; DATA_TYPE &gt;( data ) );</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>            }</div>
</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a6134fecf80091146bde96f78a59b765a">   28</a></span>            <a class="code hl_function" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a6134fecf80091146bde96f78a59b765a">stDOMItem</a>( <span class="keyword">const</span> <a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a>&amp; b ):<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a>( b.<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a> ) , <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a>( b.<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a> ){}</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a6134fecf80091146bde96f78a59b765a">   29</a></span>            <a class="code hl_function" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a6134fecf80091146bde96f78a59b765a">stDOMItem</a>( <span class="keyword">const</span> <a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a>&amp; b ):<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a>( <a class="code hl_namespace" href="../../d8/dcc/namespacestd.html">std</a>::move( b.<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a> ) ) , <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a>( <a class="code hl_namespace" href="../../d8/dcc/namespacestd.html">std</a>::move( b.<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a> )){}</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>            </div>
<div class="foldopen" id="foldopen00031" data-start="{" data-end="}">
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#ad222123cd8dd50abf5e18197018f2a97">   31</a></span>            <a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a>&amp; <a class="code hl_function" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#ad222123cd8dd50abf5e18197018f2a97">operator=</a>( <span class="keyword">const</span> <a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a>&amp; b ){</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>                <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a> = b.<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>                <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a> = b.<a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>                <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>            }</div>
</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="foldopen" id="foldopen00037" data-start="{" data-end="}">
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#aa9d8e6b8b6d85459cbca699b4ffa3d27">   37</a></span>            <a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a>&amp; <a class="code hl_function" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#aa9d8e6b8b6d85459cbca699b4ffa3d27">operator=</a>( <a class="code hl_struct" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">stDOMItem</a>&amp;&amp; b ){</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>                <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">m_name</a> = std::move( b.m_name );</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>                <a class="code hl_variable" href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">m_data</a> = std::move( b.m_data );</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>                <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>            }</div>
</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>        };</div>
</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="../../d1/de6/classwheels_1_1private_____1_1path.html">   44</a></span>        <span class="keyword">class </span><a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">path</a></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        {</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>        <span class="keyword">public</span>:</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>        <span class="keyword">private</span>:</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>            std::vector&lt; std::string &gt;   m_steps__;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>        <span class="keyword">private</span>:</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>        <span class="keyword">public</span>:</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>            <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a6250eec6793b2d506d58d22c766f374e">path</a>( <span class="keyword">const</span> std::string&amp; <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">path</a> );</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a6250eec6793b2d506d58d22c766f374e">   55</a></span>            <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a6250eec6793b2d506d58d22c766f374e">path</a>(){}</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a5cbb804e852a161ec912ea54b28208ac">   56</a></span>            <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a5cbb804e852a161ec912ea54b28208ac">~path</a>(){}</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>            <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a7c0fd329389a0267cec0cb6978843a4b">operator()</a>( <span class="keyword">const</span> std::string&amp; <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">path</a> );</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>            <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#af26d396bc3d9371e54dfc8afaf17d047">isRelative</a>();</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>            <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">path</a>&amp; <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a21d4499fd0dedf1ea0199d6a97405960">operator+</a>( <span class="keyword">const</span> <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">path</a> b );</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>            std::string&amp; <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a8e1e913b1d2ef158e3a5608c86dd7258">operator[]</a>( <span class="keywordtype">size_t</span> idx );</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>            <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">length</a>();</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>            std::string <a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#acf6d4e9699e4a33e52f60a543839cf78">fullPath</a>();</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>        };</div>
</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    </div>
<div class="foldopen" id="foldopen00085" data-start="{" data-end="};">
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="../../dd/d30/classwheels_1_1conf_d_o_m.html">   85</a></span>    <span class="keyword">class </span><a class="code hl_class" href="../../dd/d30/classwheels_1_1conf_d_o_m.html">confDOM</a> : <span class="keyword">public</span> dm:composite&lt; stDOMItem &gt;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    {</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ad2aefa34bd9f94cf28abcaa40b45c7ed">   88</a></span>        <span class="keyword">using </span><a class="code hl_typedef" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ad2aefa34bd9f94cf28abcaa40b45c7ed">data_t</a> = stDOMItem;</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a46a7e73aae950f4a78aaa7de9b4ce2d3">   89</a></span>        <span class="keyword">using </span><a class="code hl_typedef" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a46a7e73aae950f4a78aaa7de9b4ce2d3">iterator</a> = dm:composite&lt; stDOMItem &gt;::children_t::iterator;</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>        <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">private__::path</a>   m_current__;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>        <a class="code hl_function" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ac284c914b64b9016c7af813014b9b3b8">confDOM</a>();</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a10454552bbb93e9dc265d8e5caec6f37">   94</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a10454552bbb93e9dc265d8e5caec6f37">~confDOM</a>(){}</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>        <span class="keyword">template</span>&lt; <span class="keyword">typename</span> TYPE_T &gt;</div>
<div class="foldopen" id="foldopen00103" data-start="{" data-end="}">
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ae862046d056cea7863de99537845eb98">  103</a></span>        TYPE_T <a class="code hl_function" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ae862046d056cea7863de99537845eb98">get</a>( <span class="keyword">const</span> std::string&amp; path ){</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>            TYPE_T ret;</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>            <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">private__::path</a> p( path );</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>            <span class="keywordflow">if</span>( p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#af26d396bc3d9371e54dfc8afaf17d047">isRelative</a>() ){</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>                p = m_current__ + p;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>            }</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>            <span class="keywordtype">size_t</span> idx = 0;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>            <span class="keywordtype">bool</span> find = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>            <a class="code hl_class" href="../../da/d8b/classwheels_1_1dm_1_1composite.html">dm::composite&lt; stDOMItem &gt;</a>   * p_item = <span class="keyword">this</span>;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>            <span class="keywordflow">do</span>{</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>                p_item-&gt;<a class="code hl_function" href="../../da/d8b/classwheels_1_1dm_1_1composite.html#ad6933767c028e20b7c9226c6af8249cd">for_each</a>( [=]( dm:composite&lt; stDOMItem &gt; * item ){</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>                    <span class="keywordflow">if</span>( !item ) <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>                    <span class="keyword">auto</span> * pitem = item-&gt;get();</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>                    <span class="keywordflow">if</span>( pitem-&gt;m_name == p[ idx ] ){</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>                        p_item = item;</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>                        find = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>                        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>                    }</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>                    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>                });</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>                idx ++;</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>            }<span class="keywordflow">while</span>( idx &lt; p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">length</a>() &amp;&amp; find);</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>            <span class="keywordflow">if</span>( find &amp;&amp; idx == p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">length</a>() ){</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>                ret = p_item-&gt;m_data.<a class="code hl_function" href="../../da/d8b/classwheels_1_1dm_1_1composite.html#a985b2c27710affbb1d15d4abca4cec00">get</a>&lt;TYPE_T&gt;();</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>            }<span class="keywordflow">else</span>{</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>                <span class="keywordflow">throw</span> std::runtime_error( <span class="stringliteral">&quot;数据不存在&quot;</span> );</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>            }</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>            <span class="keywordflow">return</span> ret;</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>        }</div>
</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>        <span class="keyword">template</span>&lt; <span class="keyword">typename</span> TYPE_T &gt;</div>
<div class="foldopen" id="foldopen00143" data-start="{" data-end="}">
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"><a class="line" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a94de9633cc8093d95d8b4d3df9516276">  143</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a94de9633cc8093d95d8b4d3df9516276">set</a>( <span class="keyword">const</span> std::string&amp; path , TYPE_T&amp;&amp; data ){</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span>            <a class="code hl_class" href="../../d1/de6/classwheels_1_1private_____1_1path.html">private__::path</a> p( path );</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>            <span class="keywordflow">if</span>( p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#af26d396bc3d9371e54dfc8afaf17d047">isRelative</a>() ){</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>                p = m_current__ + p;</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>            }</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>            <span class="keywordtype">size_t</span> idx = 0;</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>            <span class="keywordtype">bool</span> find = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>            <a class="code hl_class" href="../../da/d8b/classwheels_1_1dm_1_1composite.html">dm::composite&lt; stDOMItem &gt;</a>   * p_item = <span class="keyword">this</span>;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>            <span class="keywordflow">do</span>{</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>                p_item-&gt;<a class="code hl_function" href="../../da/d8b/classwheels_1_1dm_1_1composite.html#ad6933767c028e20b7c9226c6af8249cd">for_each</a>( [=]( dm:composite&lt; stDOMItem &gt; * item ){</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>                    <span class="keywordflow">if</span>( !item ) <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>                    <span class="keyword">auto</span> * pitem = item-&gt;get();</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>                    <span class="keywordflow">if</span>( pitem-&gt;m_name == p[ idx ] ){</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>                        p_item = item;</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>                        find = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>                        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>                    }</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span> </div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>                    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>                });</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span> </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>                idx ++;</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>            }<span class="keywordflow">while</span>( idx &lt; p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">length</a>() &amp;&amp; find );</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>            <span class="keywordflow">if</span>( find &amp;&amp; idx == p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">length</a>() ){</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>                ret = p_item-&gt;m_data.set( data );</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>            }<span class="keywordflow">else</span> <span class="keywordflow">if</span>( idx == p.<a class="code hl_function" href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">length</a>() ){ <span class="comment">// 如果找不到则添加内容</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>                std::shared_ptr&lt; stDOMItem &gt; item = std::make_shared&lt;stDOMItem&gt;( p[ idx ] , data );</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>                p_item-&gt;<a class="code hl_function" href="../../da/d8b/classwheels_1_1dm_1_1composite.html#aacc3278b82089516e0fff4aea416eabf">add</a>( item );</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>            }<span class="keywordflow">else</span>{</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>                <span class="keywordflow">throw</span> std::runtime_error( <span class="stringliteral">&quot;指定路径内容不存在&quot;</span> );</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>            }</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>        }</div>
</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a07a9d7b14a1c7f4dd0e66086e6811293">cd</a>( <span class="keyword">const</span> std::string&amp; path );</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span> </div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>        std::string <a class="code hl_function" href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a8258069dae6e80aa181320f97c487484">pwd</a>();</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>    };</div>
</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>}</div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html">wheels::confDOM</a></div><div class="ttdef"><b>定义</b> <a href="#l00085">confdom.hpp:86</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_a07a9d7b14a1c7f4dd0e66086e6811293"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a07a9d7b14a1c7f4dd0e66086e6811293">wheels::confDOM::cd</a></div><div class="ttdeci">bool cd(const std::string &amp;path)</div><div class="ttdoc">切换当前的路径</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00074">confdom.cpp:74</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_a10454552bbb93e9dc265d8e5caec6f37"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a10454552bbb93e9dc265d8e5caec6f37">wheels::confDOM::~confDOM</a></div><div class="ttdeci">virtual ~confDOM()</div><div class="ttdef"><b>定义</b> <a href="#l00094">confdom.hpp:94</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_a46a7e73aae950f4a78aaa7de9b4ce2d3"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a46a7e73aae950f4a78aaa7de9b4ce2d3">wheels::confDOM::iterator</a></div><div class="ttdeci">dm:composite&lt; stDOMItem &gt;::children_t::iterator iterator</div><div class="ttdef"><b>定义</b> <a href="#l00089">confdom.hpp:89</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_a8258069dae6e80aa181320f97c487484"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a8258069dae6e80aa181320f97c487484">wheels::confDOM::pwd</a></div><div class="ttdeci">std::string pwd()</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00117">confdom.cpp:117</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_a94de9633cc8093d95d8b4d3df9516276"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#a94de9633cc8093d95d8b4d3df9516276">wheels::confDOM::set</a></div><div class="ttdeci">void set(const std::string &amp;path, TYPE_T &amp;&amp;data)</div><div class="ttdoc">修改变量值。如果变量不存在则增加变量</div><div class="ttdef"><b>定义</b> <a href="#l00143">confdom.hpp:143</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_ac284c914b64b9016c7af813014b9b3b8"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ac284c914b64b9016c7af813014b9b3b8">wheels::confDOM::confDOM</a></div><div class="ttdeci">confDOM()</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00072">confdom.cpp:72</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_ad2aefa34bd9f94cf28abcaa40b45c7ed"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ad2aefa34bd9f94cf28abcaa40b45c7ed">wheels::confDOM::data_t</a></div><div class="ttdeci">stDOMItem data_t</div><div class="ttdef"><b>定义</b> <a href="#l00088">confdom.hpp:88</a></div></div>
<div class="ttc" id="aclasswheels_1_1conf_d_o_m_html_ae862046d056cea7863de99537845eb98"><div class="ttname"><a href="../../dd/d30/classwheels_1_1conf_d_o_m.html#ae862046d056cea7863de99537845eb98">wheels::confDOM::get</a></div><div class="ttdeci">TYPE_T get(const std::string &amp;path)</div><div class="ttdoc">获取数据。</div><div class="ttdef"><b>定义</b> <a href="#l00103">confdom.hpp:103</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1composite_html"><div class="ttname"><a href="../../da/d8b/classwheels_1_1dm_1_1composite.html">wheels::dm::composite</a></div><div class="ttdef"><b>定义</b> <a href="../../d5/dfc/composite_8hpp_source.html#l00040">composite.hpp:41</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1composite_html_a985b2c27710affbb1d15d4abca4cec00"><div class="ttname"><a href="../../da/d8b/classwheels_1_1dm_1_1composite.html#a985b2c27710affbb1d15d4abca4cec00">wheels::dm::composite::get</a></div><div class="ttdeci">type_t * get()</div><div class="ttdef"><b>定义</b> <a href="../../d5/dfc/composite_8hpp_source.html#l00209">composite.hpp:209</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1composite_html_aacc3278b82089516e0fff4aea416eabf"><div class="ttname"><a href="../../da/d8b/classwheels_1_1dm_1_1composite.html#aacc3278b82089516e0fff4aea416eabf">wheels::dm::composite::add</a></div><div class="ttdeci">void add(type_t &amp;data)</div><div class="ttdef"><b>定义</b> <a href="../../d5/dfc/composite_8hpp_source.html#l00064">composite.hpp:64</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1composite_html_ad6933767c028e20b7c9226c6af8249cd"><div class="ttname"><a href="../../da/d8b/classwheels_1_1dm_1_1composite.html#ad6933767c028e20b7c9226c6af8249cd">wheels::dm::composite::for_each</a></div><div class="ttdeci">void for_each(std::function&lt; void(type_t *) &gt; fun)</div><div class="ttdoc">本层遍历</div><div class="ttdef"><b>定义</b> <a href="../../d5/dfc/composite_8hpp_source.html#l00202">composite.hpp:202</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html">wheels::private__::path</a></div><div class="ttdef"><b>定义</b> <a href="#l00044">confdom.hpp:45</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_a14d6412567169e8dda6fb307ed344b95"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#a14d6412567169e8dda6fb307ed344b95">wheels::private__::path::length</a></div><div class="ttdeci">size_t length()</div><div class="ttdoc">路径长度。</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00054">confdom.cpp:54</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_a21d4499fd0dedf1ea0199d6a97405960"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#a21d4499fd0dedf1ea0199d6a97405960">wheels::private__::path::operator+</a></div><div class="ttdeci">path &amp; operator+(const path b)</div><div class="ttdoc">路径合并，</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00027">confdom.cpp:27</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_a5cbb804e852a161ec912ea54b28208ac"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#a5cbb804e852a161ec912ea54b28208ac">wheels::private__::path::~path</a></div><div class="ttdeci">~path()</div><div class="ttdef"><b>定义</b> <a href="#l00056">confdom.hpp:56</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_a6250eec6793b2d506d58d22c766f374e"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#a6250eec6793b2d506d58d22c766f374e">wheels::private__::path::path</a></div><div class="ttdeci">path()</div><div class="ttdef"><b>定义</b> <a href="#l00055">confdom.hpp:55</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_a7c0fd329389a0267cec0cb6978843a4b"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#a7c0fd329389a0267cec0cb6978843a4b">wheels::private__::path::operator()</a></div><div class="ttdeci">bool operator()(const std::string &amp;path)</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00042">confdom.cpp:42</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_a8e1e913b1d2ef158e3a5608c86dd7258"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#a8e1e913b1d2ef158e3a5608c86dd7258">wheels::private__::path::operator[]</a></div><div class="ttdeci">std::string &amp; operator[](size_t idx)</div><div class="ttdoc">单步的路径名称</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00033">confdom.cpp:33</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_acf6d4e9699e4a33e52f60a543839cf78"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#acf6d4e9699e4a33e52f60a543839cf78">wheels::private__::path::fullPath</a></div><div class="ttdeci">std::string fullPath()</div><div class="ttdoc">获取完整的路径字符串</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00059">confdom.cpp:59</a></div></div>
<div class="ttc" id="aclasswheels_1_1private_____1_1path_html_af26d396bc3d9371e54dfc8afaf17d047"><div class="ttname"><a href="../../d1/de6/classwheels_1_1private_____1_1path.html#af26d396bc3d9371e54dfc8afaf17d047">wheels::private__::path::isRelative</a></div><div class="ttdeci">bool isRelative()</div><div class="ttdoc">判断路径是否是相对路径</div><div class="ttdef"><b>定义</b> <a href="../../db/d08/confdom_8cpp_source.html#l00020">confdom.cpp:20</a></div></div>
<div class="ttc" id="aclasswheels_1_1variant_html"><div class="ttname"><a href="../../dd/d54/classwheels_1_1variant.html">wheels::variant</a></div><div class="ttdoc">实际暴露出来的接口类。这个类具有明确的类型，可以在其他容器中，比如vector中，使用</div><div class="ttdef"><b>定义</b> <a href="../../d9/d7a/variant_8hpp_source.html#l00082">variant.hpp:82</a></div></div>
<div class="ttc" id="aclasswheels_1_1variant_html_aec8c6372866cf7fd422a96e1164aa5c3"><div class="ttname"><a href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3">wheels::variant::make</a></div><div class="ttdeci">static variant make(const dataType &amp;data)</div><div class="ttdoc">构建数据对象</div><div class="ttdef"><b>定义</b> <a href="../../d9/d7a/variant_8hpp_source.html#l00167">variant.hpp:167</a></div></div>
<div class="ttc" id="acomposite_8hpp_html"><div class="ttname"><a href="../../d5/dfc/composite_8hpp.html">composite.hpp</a></div></div>
<div class="ttc" id="anamespaceprivate_____html"><div class="ttname"><a href="../../d4/da4/namespaceprivate____.html">private__</a></div><div class="ttdoc">代理模式</div><div class="ttdef"><b>定义</b> <a href="../../db/d94/mediator_8hpp_source.html#l00029">mediator.hpp:30</a></div></div>
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="../../d8/dcc/namespacestd.html">std</a></div><div class="ttdef"><b>定义</b> <a href="../../d1/d92/mandarava_2event_8hpp_source.html#l00038">event.hpp:39</a></div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html">wheels::private__::stDOMItem</a></div><div class="ttdef"><b>定义</b> <a href="#l00018">confdom.hpp:19</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html_a5f69a62a761a001f3b885c55a6a650b9"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a5f69a62a761a001f3b885c55a6a650b9">wheels::private__::stDOMItem::m_data</a></div><div class="ttdeci">variant m_data</div><div class="ttdef"><b>定义</b> <a href="#l00021">confdom.hpp:21</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html_a6134fecf80091146bde96f78a59b765a"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a6134fecf80091146bde96f78a59b765a">wheels::private__::stDOMItem::stDOMItem</a></div><div class="ttdeci">stDOMItem(const stDOMItem &amp;b)</div><div class="ttdef"><b>定义</b> <a href="#l00028">confdom.hpp:28</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html_a86bec5d07d63cad93b74f35237335441"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#a86bec5d07d63cad93b74f35237335441">wheels::private__::stDOMItem::m_name</a></div><div class="ttdeci">std::string m_name</div><div class="ttdef"><b>定义</b> <a href="#l00020">confdom.hpp:20</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html_aa9d8e6b8b6d85459cbca699b4ffa3d27"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#aa9d8e6b8b6d85459cbca699b4ffa3d27">wheels::private__::stDOMItem::operator=</a></div><div class="ttdeci">stDOMItem &amp; operator=(stDOMItem &amp;&amp;b)</div><div class="ttdef"><b>定义</b> <a href="#l00037">confdom.hpp:37</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html_aca4a2f1bdfc0ae0665bde8534df97189"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#aca4a2f1bdfc0ae0665bde8534df97189">wheels::private__::stDOMItem::stDOMItem</a></div><div class="ttdeci">stDOMItem(const std::string &amp;name, DATA_TYPE &amp;&amp;data)</div><div class="ttdef"><b>定义</b> <a href="#l00024">confdom.hpp:24</a></div></div>
<div class="ttc" id="astructwheels_1_1private_____1_1st_d_o_m_item_html_ad222123cd8dd50abf5e18197018f2a97"><div class="ttname"><a href="../../d8/d13/structwheels_1_1private_____1_1st_d_o_m_item.html#ad222123cd8dd50abf5e18197018f2a97">wheels::private__::stDOMItem::operator=</a></div><div class="ttdeci">stDOMItem &amp; operator=(const stDOMItem &amp;b)</div><div class="ttdef"><b>定义</b> <a href="#l00031">confdom.hpp:31</a></div></div>
<div class="ttc" id="avariant_8hpp_html"><div class="ttname"><a href="../../d9/d7a/variant_8hpp.html">variant.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
